<!doctype html>
<html  lang="en">
    <head>
        <meta charset="utf-8">
        <title>测试页面 </title>
    </head>
    <body>
        <h1>用户列表 </h1>

        <div>
            <form action="/search" method="post">
                <input name="kw" placeholder="搜索信息">
                <input type="submit" value="添加">
            </form>
        </div>
        <hr>
        <div>
            <form action="/users" method="post">
                <input name="username" placeholder="请添加用户账号">
                <input name="name" placeholder="请添加用户姓名">
                <input name="family_name" placeholder="清添加家庭名称">
                <input name="category" placeholder="清天剑描述">
                <input name="password_hash" placeholder="清添加密码">
                <input type="submit" value="添加">
            </form>
        </div>
        {% for itme in users %}
        <p>  {{ itme.username }} --  {{ itme.name }} </p>
        {% endfor %}
    </body>
</html>

